package cn.changeforyou.web.blog.po;

import java.time.LocalDateTime;
import javax.validation.constraints.NotEmpty;
import lombok.Data;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.json.JsonField;

/**
 * @author zhyu
 */
@Table("blog_user")
@Data
public class User {

    @Id
    private int id;

    private String name;
    private String username;
    @NotEmpty
    private String password;
    private String headPic;
    private int status;
    private LocalDateTime createTime;

    public User() {
    }

}
